const env = import.meta.env.MODE || 'prod'
const EnvConfig = {
  dev: {
    baseApi: '/api',
    mockApi:
      'https://www.fastmock.site/mock/22308f8382f7ffd4e33624ab0a7bd917/api'
  },
  test: {
    baseApi: '/',
    mockApi:
      'https://www.fastmock.site/mock/22308f8382f7ffd4e33624ab0a7bd917/api'
  },
  prod: {
    baseApi: '/',
    mockApi: ''
  }
}

export default {
  env,
  namespace: 'manager_vite',
  mock: false,
  ...EnvConfig[env]
}
